#coding=utf-8

import os
this_file_path = os.path.dirname(os.path.abspath(__file__))
os.chdir(this_file_path)
os.chdir('../')
import sys
sys.path.append(os.getcwd())
from dao.daofactory import DaoFactory
from dao.redisdao import RedisManager
from core.Scanner import Scanner
DaoFactory.init('test')
DaoFactory.init('invest_trace')
DaoFactory.init('test_wby')
RedisManager.init()
Scanner.scan_service()